﻿<Window x:Class="TicTacToe.UI.StartWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Icon="..\3dtictactoe.png" x:ClassModifier="internal"
        Title="3DTicTacToe" Height="360" Width="600" ResizeMode="CanMinimize"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Button Style="{StaticResource buttonStyle}" Content="3DTicTacToe" FontSize="33" Click="Border_MouseUp" Margin="10,15,10,10" Height="50" VerticalAlignment="Top"/>

        <Border Margin="35,73,35,30" BorderBrush="Black" BorderThickness="1" Background="Transparent" CornerRadius="5">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="4*" />
                    <RowDefinition Height="3*" />
                </Grid.RowDefinitions>
                
                <Grid Grid.Row="0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1.6*" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>
                    
                    <Button Grid.Column="0" FontSize="33" Style="{StaticResource buttonStyle}" Content="Start New Game" Margin="15,15,4,7.5" Click="NewGameButton_Click" />
                    <Button Grid.Column="1" FontSize="30"  Style="{StaticResource buttonStyle}" Content="Load Game" Margin="4,15,15,7.5" Click="loadButton_Click" />
                </Grid>
                
                <Grid Grid.Row="1">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>

                    <Button Grid.Column="0" FontSize="20" Style="{StaticResource buttonStyle}" Content="Host Network Game" Margin="15,7.5,4,15" Click="Button_Click_3" />
                    <Button Grid.Column="1" FontSize="20" Style="{StaticResource buttonStyle}" Content="Join Network Game" Margin="4,7.5,15,15" Click="Button_Click_2" />
                </Grid>
            </Grid>
        </Border>
        <Button Name="statisticsButton" Style="{StaticResource leftCornerButton}" Content="Show Statistics" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="115" Click="statisticsButton_Click" />
    </Grid>
</Window>
